import { httpDelete, httpPost, httpPut } from "@/utils/http"


export const findStaffApi = (data?: object) => {
    return httpPost('/staffs/search', data)
}
export const deleteStaffApi = (data?: object) => {
    return httpDelete('/staffs/remove', data)
}
export const addStaffApi = (data?: object) => {
    return httpPost('/staffs/add', data)
}
export const updateStaffApi = (data?: object) => {
    return httpPut('/staffs/update', data)
}